package com.smarttest.portal.mapper;

import com.smarttest.portal.pojo.RuleParam;
import com.smarttest.portal.pojo.RuleParamExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RuleParamMapper {
    int countByExample(RuleParamExample example);

    int deleteByExample(RuleParamExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RuleParam record);

    int insertSelective(RuleParam record);

    List<RuleParam> selectByExampleWithBLOBs(RuleParamExample example);

    List<RuleParam> selectByExample(RuleParamExample example);

    RuleParam selectByPrimaryKey(Long id);
    
    List<String> selectRuleType(RuleParamExample example);

    int updateByExampleSelective(@Param("record") RuleParam record, @Param("example") RuleParamExample example);

    int updateByExampleWithBLOBs(@Param("record") RuleParam record, @Param("example") RuleParamExample example);

    int updateByExample(@Param("record") RuleParam record, @Param("example") RuleParamExample example);

    int updateByPrimaryKeySelective(RuleParam record);

    int updateByPrimaryKeyWithBLOBs(RuleParam record);

    int updateByPrimaryKey(RuleParam record);
}